package com.senven.payorder.service;

import com.senven.common.entity.Branch;
import com.senven.common.vo.CommonResult;
import com.senven.common.entity.PayOrder;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;


/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zsy
 * @since 2022-09-05
 */
public interface IPayOrderService extends IService<PayOrder> {

    CommonResult adds(List<Branch> list,String uid);

    Integer addApi(List<Branch> list,String uid);


    CommonResult selectAll(String uid);

    CommonResult selectSum(String uid);

    CommonResult getData();

    CommonResult addOrder(List<Branch> list, Integer total, Integer payid,String address,String userId);


    CommonResult addApi2(Integer branchid,Integer goodsid,Integer sum);
    CommonResult deleteIsDeleted(List<Integer> poIds);

    CommonResult selectUid(String uid);

}
